package day08.Test1;

public class StringBuilder_Demo {
    public static void main(String[] args) {
        String s0 = "abcdefghijklmnopqrstuvwxyz";
        StringBuilder sb = new StringBuilder();
        StringBuffer sb1 = new StringBuffer();
        sb.append(s0);
        long t = System.currentTimeMillis();
        for(int i = 0; i < 10; i++){
            sb.append(s0);
        }
        t = System.currentTimeMillis() - t;
        System.out.println(t);

    }
}
